<html>

<head>
<meta name="robots" content="noindex, nofollow" />
<script src="https://www.paypalobjects.com/js/external/dg.js"></script>

<script>
function inicio() {

  var dgFlow = new PAYPAL.apps.DGFlow({ trigger: 'submitBtn' });

}
</script>

</head>


<body onLoad="inicio();">

<h1>Tienda en BasketDudes</h1>
<br/><br/>
<form action="https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay" target="PPDGFrame">
<input id="type" type="hidden" name="expType" value="light">
<input id="paykey" type="hidden" name="payKey" value="${payKey}">
<input type="submit" id="submitBtn" value="Pay with PayPal">
</form>

</body>

</html>
